<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@	taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@	taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<div id="header">
	<div id="logo">
		<a href="<spring:url value="/truyen-tranh/" />" title="Trang chủ | Truyện Online">
			<img src="<spring:url value="/resources/images/truyen-online.png" />" alt="Truyện online" />
		</a>
	</div>
	<div id="search">
		<div class="tabTypeSearch">
			<c:choose>
				<c:when test="${typeSearch == null}">
					<a class="tabSearchActive topCorner" id="tTenTruyen">Tên truyện</a>
				</c:when>
				<c:otherwise>
					<a class="<c:if test="${typeSearch == 'tTenTruyen'}">tabSearchActive</c:if> topCorner" id="tTenTruyen">Tên truyện</a>
				</c:otherwise>
			</c:choose>
			<a class="<c:if test="${typeSearch == 'tTheLoai'}">tabSearchActive</c:if> topCorner" id="tTheLoai">Thể loại</a>
			<a class="<c:if test="${typeSearch == 'tTacGia'}">tabSearchActive</c:if> topCorner" id="tTacGia">Tác giả</a>
		</div>
		<form name="search" method="get" action="<spring:url value="/truyen-tranh/tim-kiem-truyen.htm" />" accept-charset="UTF-8">
			<input class="leftCorner" type="text" name="k" id="kwSearch" autocomplete="off" placeholder="Nhập từ khóa..." value="${k}" />
			<input type="hidden" id="typeSearch" name="typeSearch" value="tTenTruyen" />
			<input type="hidden" id="searchUrl" value="<spring:url value="/truyen-tranh/hintTruyen.htm" />" />
			<button type="submit" class="rightCorner">Tìm</button>
		</form>
	</div>
	<jsp:include page="/WEB-INF/includes/ads234x60.jsp" />
	<jsp:include page="userLoginLogout.jsp" />
	<div class="clear">&nbsp;</div>
</div>